﻿@model TJBHJJ.Models.Product
@{
    ViewBag.Title = "案例展示";
    Layout = "~/Views/Shared/_Layout.cshtml";
    List<TJBHJJ.Models.Product> group = (List<TJBHJJ.Models.Product>)ViewData["group"];
}
<h2>@Html.ActionLink("案例展示", "Index", new { page = (int)ViewData["page"] })>>@Model.Name</h2>
<table>
    <tr>
        <td>
            名称：
        </td>
        <td>@Model.Name
        </td>
    </tr>
    <tr>
        <td>
            案例详细：
        </td>
        <td>@Model.Descriptions
        </td>
    </tr>
    <tr>
        <td>
            上一个：
            @if (group[0] != null)
            {
                @Html.ActionLink(group[0].Name, "Detail", new { page = (int)ViewData["page"], id = group[0].Id })

            }
        </td>
        <td>
            下一个：
            @if (group[2] != null)
            {
                @Html.ActionLink(group[2].Name, "Detail", new { page = (int)ViewData["page"], id = group[2].Id })
            }
        </td>
    </tr>
</table>
